package com.kefu.exam.vo;

import com.kefu.exam.model.ExamSubject;
import com.kefu.exam.model.ExamSubjectAnswer;

import java.util.ArrayList;
import java.util.List;

/**
 * 试题的完整封装
 */
public class AnswerUnit implements java.io.Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 5651120806931586865L;
    private ExamSubjectAnswer answer;
    private List<SubjectUnit> sonSubjectList;
    private String jump;


    /**
     * 填空題和選擇題的答案在answer中記錄
     */
    private String val;

    public String getJump() {
        return jump;
    }

    public void setJump(String jump) {
        this.jump = jump;
    }

    public ExamSubjectAnswer getAnswer() {
        return answer;
    }

    public List<SubjectUnit> getSonSubjectList() {
        return sonSubjectList;
    }

    public void setSonSubjectList(List<SubjectUnit> sonSubjectList) {
        this.sonSubjectList = sonSubjectList;
    }

    public void setAnswer(ExamSubjectAnswer answer) {
        this.answer = answer;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }
}
